Updated minimum DirectFB version required to enable gdk_directfb_create_child_window()
authorAttilio Fiandrotti <attilio@src.gnome.org>
Sun, 20 May 2007 21:51:10 +0000 (21:51 +0000)
committerAttilio Fiandrotti <attilio@src.gnome.org>
Sun, 20 May 2007 21:51:10 +0000 (21:51 +0000)
svn path=/trunk/; revision=17879

ChangeLog
gdk/directfb/gdkdirectfb.h
gdk/directfb/gdkwindow-directfb.c

index e1408063164fcc3ecb8e1af22851d4c6c6dc782e..06a74aaad1766a05cc24f10debae72be5e0059d8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-05-20  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
+
+        * gdk/directfb/gdkwindow-directfb.c:
+        * gdk/directfb/gdkdirectfb.h: Updated minimum DirectFB version
+        required to enable gdk_directfb_create_child_window.
+        (Closes: #437379)
+
 2007-05-20  Bastien Nocera  <hadess@hadess.net>
 
        * gtk/Makefile.am:
index 05a2b8624db6027b1b7e55a9f9e7629ff2ef5dcf..bf34802090f091bd3b35b41b06ce3997c5215e98 100644 (file)
@@ -86,7 +86,7 @@ GdkVisual * gdk_directfb_visual_by_format   (DFBSurfacePixelFormat  pixel_format
 IDirectFBWindow *gdk_directfb_window_lookup(GdkWindow *window);
 IDirectFBSurface *gdk_directfb_surface_lookup(GdkWindow *window);
 
-#if (DIRECTFB_MICRO_VERSION > 25)
+#if (DIRECTFB_MAJOR_VERSION >= 1)
 GdkWindow *gdk_directfb_create_child_window(GdkWindow *parent,
                 IDirectFBSurface *subsurface);
 #endif
index 8fa2d70e1a1f1df16a8744870a93aecd7f2ae175..cca1cdaf8edb5426e00810a8c6e9baaf440901db 100644 (file)
@@ -2521,7 +2521,7 @@ gdk_window_get_frame_extents (GdkWindow    *window,
  * Given a directfb window and a subsurface of that window
  * create a gdkwindow child wrapper
  */
-#if (DIRECTFB_MICRO_VERSION > 25)
+#if (DIRECTFB_MAJOR_VERSION >= 1)
 GdkWindow *gdk_directfb_create_child_window(GdkWindow *parent,
                                 IDirectFBSurface *subsurface)
 {